package com.example.housingRentalSystem.service;

import com.example.housingRentalSystem.bean.House;
import com.example.housingRentalSystem.utils.PageRequest;
import com.example.housingRentalSystem.utils.PageResponse;

/**
 * @author 王硕
 * @version jdk21
 * @className CollectService
 * @description
 * @date 2025/3/22 17:03
 */
public interface CollectService {

    boolean toggleCollect(Integer userId, Integer houseId);

    PageResponse<House> getCollectList(Integer userId, PageRequest pageRequest);

    boolean isCollected(Integer userId, Integer houseId);
}
